<template>
  <el-tooltip class="toolbar-item" content="高级编辑" placement="top">
    <div class="toolbar-full-editor" @mousedown.prevent="showEditor">
      <i class="iconfont icon-fuwenbenkuang"></i>
    </div>
  </el-tooltip>
</template>

<script>
export default {
  components: {},
  props: {},
  inject: ['showRichEditorDialog'],
  data() {
    return {}
  },
  computed: {
    selectStyleObj() {
      return this.getSelectStyleObj()
    },
  },
  methods: {
    showEditor() {
      this.showRichEditorDialog && this.showRichEditorDialog()
    },
  },
}
</script>

<style lang="scss" scoped>
@import '@styles/richText/toolbar.scss';
.toolbar-full-editor {
  i {
    font-size: 22px;
  }
}
</style>
